import request from '@/utils/request'

export const articles = params => request.get('v1_0/articles', { params })

export const dislikeArticle = data => request.post('v1_0/article/dislikes', data)

export const articleDetail = id => request.get(`/v1_0/articles/${id}`)
